package com.qfedu.model;

/**
 * @author lenovo
 * @version 1.0
 * @date 2023/4/18 9:11
 * @poject 公告实体类
 */
public class Notice {
    /**
     * 公告id
     */
    private int id;
    /**
     * 标题
     */
    private String title;
    /**
     * 公告内容
     */
    private String content;
    /**
     * 公告创建者
     */
    private String cretedUser;

    public Notice() {

    }

    public Notice(int id, String title, String content, String cretedUser) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.cretedUser = cretedUser;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", cretedUser='" + cretedUser + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCretedUser() {
        return cretedUser;
    }

    public void setCretedUser(String cretedUser) {
        this.cretedUser = cretedUser;
    }
}
